package cn.tedu.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface NovelMesMapper {
    @Select("select novel_synopsis from novel where id = #{id}")
    String getSynopsisById(Integer id);
    @Select("select novel_author from novel where id = #{id}")
    String getAuthorById(Integer id);
    @Select("select novel_text from novel where id = #{id}")
    Integer getTextById(Integer id);
}
